package org.xiaojl.sys.entity;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.annotations.TableName;
import org.xiaojl.common.base.BaseEntity;

/**
 * <p>
 * 系统角色
 * </p>
 *
 * @author xiaojl
 * @since 2017-08-18
 */
@TableName("sys_role")
public class SysRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 角色名
     */
	private String name;
    /**
     * 简介
     */
	private String description;
    /**
     * 状态：0-启用，1-禁用
     */
	private Integer status;

	@Override
	public Wrapper<SysRole> bindingQueryWrapper() {
		Wrapper<SysRole> wrapper = new EntityWrapper<SysRole>();
		return wrapper;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "SysRole [name=" + name + ", description=" + description
				+ ", status=" + status + ", id=" + id + ", createBy="
				+ createBy + ", createTime=" + createTime + ", delFlag="
				+ delFlag + "]";
	}

}
